package org.codeblue.support.beans;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jl.hu on 2017/3/29.
 */
public class PageResp<E> implements Serializable {
    private Integer total ;
    private List<E> rows;

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<E> getRows() {
        return rows;
    }

    public void setRows(List<E> rows) {
        this.rows = rows;
    }

    public PageResp(){}
    public PageResp(Integer total, List<E> rows) {
        this.total = total;
        this.rows = rows;
    }
}
